package com.sikaryofficial.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.sikaryofficial.common.core.annotation.CustomerDateDeserializer;
import com.sikaryofficial.common.core.web.page.PageDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * 会员列表请求对象
 *
 * @author qinjinyuan
 */
@Getter
@Setter
@ToString
@ApiModel(value = "会员列表请求对象", description = "会员列表请求对象")
public class SysMemberUserListReq extends PageDomain {
    @ApiModelProperty(value = "邮箱地址：左匹配")
    private String email;
    @ApiModelProperty(value = "姓或者名")
    private String firstOrLastName;
    @JsonIgnore
    private Long deptId;
    @ApiModelProperty(value = "开始日期", example = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using = CustomerDateDeserializer.class)
    private Date startTime;
    @ApiModelProperty(value = "结束时间", example = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using = CustomerDateDeserializer.class)
    private Date endTime;
    @ApiModelProperty(value = "国家")
    private String country;
    @JsonIgnore
    private List<Long> addressIdList;
    @JsonIgnore
    private List<Long> userIds;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
}
